#!/bin/bash
VERSION='v0.36.0'
docker run \
  --volume=/:/rootfs:ro \
  --volume=/var/run:/var/run:ro \
  --volume=/sys:/sys:ro \
  --volume=/var/lib/docker/:/var/lib/docker:ro \
  --volume=/dev/disk/:/dev/disk:ro \
  --publish=8083:8080 \
  --detach=true \
  --name=cadvisor \
  darkleo/cadvisor:$VERSION \
  -storage_driver=influxdb \
  -storage_driver_host=influxdb:8086 \
  -storage_driver_db=db0 \
	-storage_driver_user=darkleo \
	-storage_driver_password=darkleo123
  
